FROM findepi/graalvm:java17-native

MAINTAINER nbacheng

RUN mkdir -p /nbmade/monitor/logs

WORKDIR /nbmade/monitor

EXPOSE 9090

ADD ./target/nbmade-monitor-admin.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
